from typing import Dict

class TradingViewConfig:
    SUPPORTED_RESOLUTIONS = ["1", "5", "15", "30", "60", "1D", "1W", "1M"]
    DEFAULT_SYMBOL = "600519"
    
    EXCHANGE_INFO = {
        "timezone": "Asia/Shanghai",
        "session": "0930-1500",
        "exchange": "SSE",
        "listed_exchange": "SSE"
    }
    
    @staticmethod
    def get_symbol_info(symbol: str) -> Dict:
        return {
            "symbol": symbol,
            "ticker": symbol,
            "name": f"Stock {symbol}",
            "description": f"Stock {symbol} Description",
            "type": "stock",
            **TradingViewConfig.EXCHANGE_INFO,
            "has_intraday": True,
            "has_daily": True,
            "supported_resolutions": TradingViewConfig.SUPPORTED_RESOLUTIONS
        } 